
package com.epam.android.training.level1.db.poll;

import android.provider.BaseColumns;

/**
 * @author Anton Novikau
 */
public final class Poll {

  public static final String AUTHORITY = "com.epam.android.training.level1.db.poll.Poll";

  /**
   * Creates an instance of Poll.
   */
  private Poll() {}

  public static class PollSuite implements BaseColumns {

    public static final String TABLE_NAME = "poll";

    private PollSuite() {}

    public static final String DISPLAY_NAME = "display_name";

    public static final String PASSED_PERCENT = "passed";
  }

  public static class Question implements BaseColumns {

    public static final String TABLE_NAME = "question";

    private Question() {}

    public static final String POLL_ID = "poll_id";

    public static final String DISPLAY_NAME = "display_name";
  }

  public static class Answer implements BaseColumns {

    public static final String TABLE_NAME = "answer";

    private Answer() {}

    public static final String QUESTION_ID = "question_id";

    public static final String DISPLAY_NAME = "display_name";

    public static final String IS_CORRECT = "is_correct";
  }
}
